ReassignAllocations

Description

ReassignAllocations business rule is used to tell the system what funds to use in conjunction with Assignment.  This can be used to apply all money into a defined fund.  This is useful when the selection of allocation by the end user should be restricted.  An allocation record is created when this rule is processed.  The allocation record contains the fund the money is moving into.  This business rule can also be used to pull all money from a specified fund into another fund.

 

Note:

ReassignAllocations Element/Attribute Table

Element/Tag

Definition

Attribute

Element/Attribute Value and Description

<ReassignAllocations>

The opening and closing tag for the business rule.

 

 

     <From>

Optional element;
SQL
- A SQL statement that locates the money that is to be moved from a fund is entered in the <From> tag.
 
Note:
  The amount passed in the
<From> tag should be positive.  It is converted to negative in the code.

This tag is not always necessary as the money is not always moving from a fund.
 

For example, in an Initial Premium transaction the premium amount is only moving to a fund. It was never established in a fund to be moved from, prior to the transaction.

 

Required element value;
SQL

Query to locate the fund where the money is taken from.  

    <To>

Optional element;
This element is used to indicate the fund where the money should be moved to.
 
Note:
  Used in transactions like FullSurrender, AutoTransfer and InitialPremium.

 

Required element value;
SQL

Query to locate the fund where the money is moved to.

 

XML Example

<ReassignAllocations>

<From>SELECT FundGUID, '01', -1 FROM AsFund WHERE FundGUID = '[DefaultAllocationFundGUID]'</From>

<To>SELECT FundGUID, '01', PercentInAllocation FROM AsAllocation WHERE TypeCode = '02' AND RelatedGUID = '[Policy:PolicyGUID]'</To>

</ReassignAllocations>

 

Schema Example

<ReassignAllocations>

<From>[SQL]</From>

<To>[SQL]</To>

</ReassignAllocations>